home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
unity331.zip
/
TASM.AWK
< prev
next >
Wrap
Text File
|
1991-09-19
|
422b
|
14 lines
# Parses the output of TASM and returns recoreds containing the following:
# Filename, Line, Column, ErrorMessage
# Since Column can not be assertained it is set to 0.
/[*]Warning[*]|[*][*]Error[*][*]|[*][*]Fatal[*][*]/ \
{
split($2,a,"(")
split(a[2],b,")")
a = sprintf("%1s, %1s, 0,",a[1],b[1])
b = " " $1
for (i=3; i <= NF; i++) b = sprintf("%1s %1s",b,$i)
print a b
}